<%@page language="java" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ include file="/view/common/taglib.jsp"%>
<%@ include file="/view/common/variable.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/view/common/head.jsp"%>
<meta name="keywords" content="学而阅读,小说网,原创小说网" />
<meta name="description"
	content="学而阅读,最热门的免费小说网站,提供武侠仙侠,奇幻玄幻,科幻灵异,都市言情,穿越女频,青春校园,历史军事,网游竞技,职业官场等网络热门的书籍下载跟阅读！" />
<title>学而阅读作家后台</title>
<link rel="stylesheet" href="<%=path%>/css/style.css" />
<script type="text/javascript" src="<%=path%>/js/base.js"></script>
</head>

<body ng-app="myApp" ng-controller='ShowController'>
	<%@ include file="/view/common/header.jsp"%>
	<div class="content clearfix">
		<%@ include file="/view/common/left.jsp"%>
		<!--右边-->
		<div class="right r">
			<div class="path">
				作品管理 > <span>作品列表</span>
			</div>
			<div class="ny">
				<div class="screen">
					<b>审核状态：</b><span> <select>
							<option>所有</option>
							<option>审核中</option>
							<option>拒绝</option>
							<option>上架</option>
					</select></span><b><font style="color: silver;">(审核中的书籍最多可以发布20章节，上架后不限制，拒绝的书籍不允许发布章节。)</font></b><a
						href="<%=path%>/book/add1"><img
						src="<%=path%>/image/additions.png" /></a>
				</div>
				<div class="workslist">
					<table cellspacing="1" cellpadding="0" border="0" width="100%">
						<tr>
							<th>书籍封面</th>
							<th>书籍名称</th>
							<th width="102">书籍分类</th>
							<th width="102">创建时间</th>
							<th width="168">最新章节</th>
							<th width="88">书籍状态</th>
							<th>操作</th>
						</tr>
						<c:forEach items="${bookList}" var="book" varStatus="status">
							<tr>
								<td class="wimg"><a><c:if
											test="${book.bookImageType==0}">
											<img src="${sourceUrl}/${book.bookImage}" />
										</c:if> <c:if test="${book.bookImageType==1}">
											<img src="${book.bookImage}" />
										</c:if></a></td>
								<td>${book.bookName}</td>
								<td>${book.bookCategoryName}</td>
								<td><fmt:formatDate value="${book.bookDate}"
										pattern="yyyy-MM-dd" /></td>
								<td>${book.bookLastChapter}</td>
								<td><c:if test="${book.bookStatus ==1}">
										<font style="color: green;">上架</font>
									</c:if> <c:if test="${book.bookStatus ==2}">
										<font style="color: orange;">审核中</font>
									</c:if> <c:if test="${book.bookStatus ==-1}">
										<font style="color: red;">拒绝</font>
									</c:if> <c:if test="${book.bookStatus ==0}">
										<font style="color: silver;">未知</font>
									</c:if></td>
								<td class="handle"><a
									href="<%=path%>/chapter/add?bookId=${book.bookId}"><img
										src="<%=path%>/image/newchapter.png" /></a> <a
									href="<%=path%>/chapter/publishList?bookId=${book.bookId}"><img
										src="<%=path%>/image/publishchapter.png" /></a></td>
							</tr>
						</c:forEach>

					</table>
				</div>
				<div>
					<page:page pageSize="${page.limit}" pageNo="${page.pageNo}" url=""
						recordCount="${recordCount}" />
				</div>
			</div>
		</div>
		<!--右边-->
	</div>

</body>
</html>